package com.heatup.apt.model.api.course;

import com.heatup.apt.model.course.CourseSign;
import com.heatup.apt.model.user.UserInfo;

import java.io.Serializable;
import java.util.List;

/**
 * 私教用户
 *
 * @author: Blank
 * @create: 2016-12-09-下午 5:28
 */
public class PrivateUserModel extends UserInfo implements Serializable {

    private Integer totalClass; //总课时
    private Integer hadClass;   //已上课时
    private Integer leftClass;  //剩余课时
    private Integer orderId;  //订单ID

    private List<CourseSign> hadClassList;  //已上课时列表

    public Integer getTotalClass() {
        return totalClass;
    }

    public void setTotalClass(Integer totalClass) {
        this.totalClass = totalClass;
    }

    public Integer getHadClass() {
        return hadClass;
    }

    public void setHadClass(Integer hadClass) {
        this.hadClass = hadClass;
    }

    public Integer getLeftClass() {
        return leftClass;
    }

    public void setLeftClass(Integer leftClass) {
        this.leftClass = leftClass;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public List<CourseSign> getHadClassList() {
        return hadClassList;
    }

    public void setHadClassList(List<CourseSign> hadClassList) {
        this.hadClassList = hadClassList;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("PrivateUserModel{");
        sb.append("totalClass=").append(totalClass);
        sb.append(", hadClass=").append(hadClass);
        sb.append(", leftClass=").append(leftClass);
        sb.append(", orderId=").append(orderId);
        sb.append(", hadClassList=").append(hadClassList);
        sb.append('}');
        return sb.toString();
    }
}
